package random.fox.p2p.interactors;

import java.io.File;
import java.util.List;

import random.fox.p2p.bean.greendao.Message;

/**
 * Created by delong on 2015/3/24.
 */
public interface MessageInteractor {

    public void addMessage(String theme , String content , File image , OnSendMessageListener listener);
    public void addLike(int mid , OnAddActionListener listener);
    public void addReply(int mid , String content , OnAddActionListener listener);

    public void loadMessage(OnLoadMessageListener listener);
    public void loadLikeMessage(OnLoadMessageListener listener);

    public List<Message> getLikeCacheData();
    public List<Message>  getCacheData();

    public void releaseHotData();
    public void releaseLikeData();

}
